<?php

function myself($one,$two,$func,$func1){
    if(!is_callable($func) && !is_callable($func1)){//检查$fun是不是一个函数
        return false;
    }
    echo $one + $two + $func($one,$two) + $func1(8,2);
}

function he($first,$second){
    $result = ($first + $second)*2;
    return $result;
}

function she($first,$second){
    $result = ($first + $second)/2;
    return $result;
}

echo '20+5+50+5=';
echo myself(20,5,'he','she');


